package com.cvit.cn.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CommodityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CommodityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andReleaseIdIsNull() {
            addCriterion("release_id is null");
            return (Criteria) this;
        }

        public Criteria andReleaseIdIsNotNull() {
            addCriterion("release_id is not null");
            return (Criteria) this;
        }

        public Criteria andReleaseIdEqualTo(String value) {
            addCriterion("release_id =", value, "releaseId");
            return (Criteria) this;
        }

        public Criteria andReleaseIdNotEqualTo(String value) {
            addCriterion("release_id <>", value, "releaseId");
            return (Criteria) this;
        }

        public Criteria andReleaseIdGreaterThan(String value) {
            addCriterion("release_id >", value, "releaseId");
            return (Criteria) this;
        }

        public Criteria andReleaseIdGreaterThanOrEqualTo(String value) {
            addCriterion("release_id >=", value, "releaseId");
            return (Criteria) this;
        }

        public Criteria andReleaseIdLessThan(String value) {
            addCriterion("release_id <", value, "releaseId");
            return (Criteria) this;
        }

        public Criteria andReleaseIdLessThanOrEqualTo(String value) {
            addCriterion("release_id <=", value, "releaseId");
            return (Criteria) this;
        }

        public Criteria andReleaseIdLike(String value) {
            addCriterion("release_id like", value, "releaseId");
            return (Criteria) this;
        }

        public Criteria andReleaseIdNotLike(String value) {
            addCriterion("release_id not like", value, "releaseId");
            return (Criteria) this;
        }

        public Criteria andReleaseIdIn(List<String> values) {
            addCriterion("release_id in", values, "releaseId");
            return (Criteria) this;
        }

        public Criteria andReleaseIdNotIn(List<String> values) {
            addCriterion("release_id not in", values, "releaseId");
            return (Criteria) this;
        }

        public Criteria andReleaseIdBetween(String value1, String value2) {
            addCriterion("release_id between", value1, value2, "releaseId");
            return (Criteria) this;
        }

        public Criteria andReleaseIdNotBetween(String value1, String value2) {
            addCriterion("release_id not between", value1, value2, "releaseId");
            return (Criteria) this;
        }

        public Criteria andDepartmentIsNull() {
            addCriterion("department is null");
            return (Criteria) this;
        }

        public Criteria andDepartmentIsNotNull() {
            addCriterion("department is not null");
            return (Criteria) this;
        }

        public Criteria andDepartmentEqualTo(String value) {
            addCriterion("department =", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotEqualTo(String value) {
            addCriterion("department <>", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentGreaterThan(String value) {
            addCriterion("department >", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentGreaterThanOrEqualTo(String value) {
            addCriterion("department >=", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentLessThan(String value) {
            addCriterion("department <", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentLessThanOrEqualTo(String value) {
            addCriterion("department <=", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentLike(String value) {
            addCriterion("department like", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotLike(String value) {
            addCriterion("department not like", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentIn(List<String> values) {
            addCriterion("department in", values, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotIn(List<String> values) {
            addCriterion("department not in", values, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentBetween(String value1, String value2) {
            addCriterion("department between", value1, value2, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotBetween(String value1, String value2) {
            addCriterion("department not between", value1, value2, "department");
            return (Criteria) this;
        }

        public Criteria andOneIdIsNull() {
            addCriterion("one_id is null");
            return (Criteria) this;
        }

        public Criteria andOneIdIsNotNull() {
            addCriterion("one_id is not null");
            return (Criteria) this;
        }

        public Criteria andOneIdEqualTo(String value) {
            addCriterion("one_id =", value, "oneId");
            return (Criteria) this;
        }

        public Criteria andOneIdNotEqualTo(String value) {
            addCriterion("one_id <>", value, "oneId");
            return (Criteria) this;
        }

        public Criteria andOneIdGreaterThan(String value) {
            addCriterion("one_id >", value, "oneId");
            return (Criteria) this;
        }

        public Criteria andOneIdGreaterThanOrEqualTo(String value) {
            addCriterion("one_id >=", value, "oneId");
            return (Criteria) this;
        }

        public Criteria andOneIdLessThan(String value) {
            addCriterion("one_id <", value, "oneId");
            return (Criteria) this;
        }

        public Criteria andOneIdLessThanOrEqualTo(String value) {
            addCriterion("one_id <=", value, "oneId");
            return (Criteria) this;
        }

        public Criteria andOneIdLike(String value) {
            addCriterion("one_id like", value, "oneId");
            return (Criteria) this;
        }

        public Criteria andOneIdNotLike(String value) {
            addCriterion("one_id not like", value, "oneId");
            return (Criteria) this;
        }

        public Criteria andOneIdIn(List<String> values) {
            addCriterion("one_id in", values, "oneId");
            return (Criteria) this;
        }

        public Criteria andOneIdNotIn(List<String> values) {
            addCriterion("one_id not in", values, "oneId");
            return (Criteria) this;
        }

        public Criteria andOneIdBetween(String value1, String value2) {
            addCriterion("one_id between", value1, value2, "oneId");
            return (Criteria) this;
        }

        public Criteria andOneIdNotBetween(String value1, String value2) {
            addCriterion("one_id not between", value1, value2, "oneId");
            return (Criteria) this;
        }

        public Criteria andTwoIdIsNull() {
            addCriterion("two_id is null");
            return (Criteria) this;
        }

        public Criteria andTwoIdIsNotNull() {
            addCriterion("two_id is not null");
            return (Criteria) this;
        }

        public Criteria andTwoIdEqualTo(String value) {
            addCriterion("two_id =", value, "twoId");
            return (Criteria) this;
        }

        public Criteria andTwoIdNotEqualTo(String value) {
            addCriterion("two_id <>", value, "twoId");
            return (Criteria) this;
        }

        public Criteria andTwoIdGreaterThan(String value) {
            addCriterion("two_id >", value, "twoId");
            return (Criteria) this;
        }

        public Criteria andTwoIdGreaterThanOrEqualTo(String value) {
            addCriterion("two_id >=", value, "twoId");
            return (Criteria) this;
        }

        public Criteria andTwoIdLessThan(String value) {
            addCriterion("two_id <", value, "twoId");
            return (Criteria) this;
        }

        public Criteria andTwoIdLessThanOrEqualTo(String value) {
            addCriterion("two_id <=", value, "twoId");
            return (Criteria) this;
        }

        public Criteria andTwoIdLike(String value) {
            addCriterion("two_id like", value, "twoId");
            return (Criteria) this;
        }

        public Criteria andTwoIdNotLike(String value) {
            addCriterion("two_id not like", value, "twoId");
            return (Criteria) this;
        }

        public Criteria andTwoIdIn(List<String> values) {
            addCriterion("two_id in", values, "twoId");
            return (Criteria) this;
        }

        public Criteria andTwoIdNotIn(List<String> values) {
            addCriterion("two_id not in", values, "twoId");
            return (Criteria) this;
        }

        public Criteria andTwoIdBetween(String value1, String value2) {
            addCriterion("two_id between", value1, value2, "twoId");
            return (Criteria) this;
        }

        public Criteria andTwoIdNotBetween(String value1, String value2) {
            addCriterion("two_id not between", value1, value2, "twoId");
            return (Criteria) this;
        }

        public Criteria andCommodityNameIsNull() {
            addCriterion("commodity_name is null");
            return (Criteria) this;
        }

        public Criteria andCommodityNameIsNotNull() {
            addCriterion("commodity_name is not null");
            return (Criteria) this;
        }

        public Criteria andCommodityNameEqualTo(String value) {
            addCriterion("commodity_name =", value, "commodityName");
            return (Criteria) this;
        }

        public Criteria andCommodityNameNotEqualTo(String value) {
            addCriterion("commodity_name <>", value, "commodityName");
            return (Criteria) this;
        }

        public Criteria andCommodityNameGreaterThan(String value) {
            addCriterion("commodity_name >", value, "commodityName");
            return (Criteria) this;
        }

        public Criteria andCommodityNameGreaterThanOrEqualTo(String value) {
            addCriterion("commodity_name >=", value, "commodityName");
            return (Criteria) this;
        }

        public Criteria andCommodityNameLessThan(String value) {
            addCriterion("commodity_name <", value, "commodityName");
            return (Criteria) this;
        }

        public Criteria andCommodityNameLessThanOrEqualTo(String value) {
            addCriterion("commodity_name <=", value, "commodityName");
            return (Criteria) this;
        }

        public Criteria andCommodityNameLike(String value) {
            addCriterion("commodity_name like", value, "commodityName");
            return (Criteria) this;
        }

        public Criteria andCommodityNameNotLike(String value) {
            addCriterion("commodity_name not like", value, "commodityName");
            return (Criteria) this;
        }

        public Criteria andCommodityNameIn(List<String> values) {
            addCriterion("commodity_name in", values, "commodityName");
            return (Criteria) this;
        }

        public Criteria andCommodityNameNotIn(List<String> values) {
            addCriterion("commodity_name not in", values, "commodityName");
            return (Criteria) this;
        }

        public Criteria andCommodityNameBetween(String value1, String value2) {
            addCriterion("commodity_name between", value1, value2, "commodityName");
            return (Criteria) this;
        }

        public Criteria andCommodityNameNotBetween(String value1, String value2) {
            addCriterion("commodity_name not between", value1, value2, "commodityName");
            return (Criteria) this;
        }

        public Criteria andCommodityCategoryIsNull() {
            addCriterion("commodity_category is null");
            return (Criteria) this;
        }

        public Criteria andCommodityCategoryIsNotNull() {
            addCriterion("commodity_category is not null");
            return (Criteria) this;
        }

        public Criteria andCommodityCategoryEqualTo(String value) {
            addCriterion("commodity_category =", value, "commodityCategory");
            return (Criteria) this;
        }

        public Criteria andCommodityCategoryNotEqualTo(String value) {
            addCriterion("commodity_category <>", value, "commodityCategory");
            return (Criteria) this;
        }

        public Criteria andCommodityCategoryGreaterThan(String value) {
            addCriterion("commodity_category >", value, "commodityCategory");
            return (Criteria) this;
        }

        public Criteria andCommodityCategoryGreaterThanOrEqualTo(String value) {
            addCriterion("commodity_category >=", value, "commodityCategory");
            return (Criteria) this;
        }

        public Criteria andCommodityCategoryLessThan(String value) {
            addCriterion("commodity_category <", value, "commodityCategory");
            return (Criteria) this;
        }

        public Criteria andCommodityCategoryLessThanOrEqualTo(String value) {
            addCriterion("commodity_category <=", value, "commodityCategory");
            return (Criteria) this;
        }

        public Criteria andCommodityCategoryLike(String value) {
            addCriterion("commodity_category like", value, "commodityCategory");
            return (Criteria) this;
        }

        public Criteria andCommodityCategoryNotLike(String value) {
            addCriterion("commodity_category not like", value, "commodityCategory");
            return (Criteria) this;
        }

        public Criteria andCommodityCategoryIn(List<String> values) {
            addCriterion("commodity_category in", values, "commodityCategory");
            return (Criteria) this;
        }

        public Criteria andCommodityCategoryNotIn(List<String> values) {
            addCriterion("commodity_category not in", values, "commodityCategory");
            return (Criteria) this;
        }

        public Criteria andCommodityCategoryBetween(String value1, String value2) {
            addCriterion("commodity_category between", value1, value2, "commodityCategory");
            return (Criteria) this;
        }

        public Criteria andCommodityCategoryNotBetween(String value1, String value2) {
            addCriterion("commodity_category not between", value1, value2, "commodityCategory");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelIsNull() {
            addCriterion("specification_model is null");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelIsNotNull() {
            addCriterion("specification_model is not null");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelEqualTo(String value) {
            addCriterion("specification_model =", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelNotEqualTo(String value) {
            addCriterion("specification_model <>", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelGreaterThan(String value) {
            addCriterion("specification_model >", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelGreaterThanOrEqualTo(String value) {
            addCriterion("specification_model >=", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelLessThan(String value) {
            addCriterion("specification_model <", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelLessThanOrEqualTo(String value) {
            addCriterion("specification_model <=", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelLike(String value) {
            addCriterion("specification_model like", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelNotLike(String value) {
            addCriterion("specification_model not like", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelIn(List<String> values) {
            addCriterion("specification_model in", values, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelNotIn(List<String> values) {
            addCriterion("specification_model not in", values, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelBetween(String value1, String value2) {
            addCriterion("specification_model between", value1, value2, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelNotBetween(String value1, String value2) {
            addCriterion("specification_model not between", value1, value2, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andCompanyIsNull() {
            addCriterion("company is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIsNotNull() {
            addCriterion("company is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyEqualTo(String value) {
            addCriterion("company =", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyNotEqualTo(String value) {
            addCriterion("company <>", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyGreaterThan(String value) {
            addCriterion("company >", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyGreaterThanOrEqualTo(String value) {
            addCriterion("company >=", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyLessThan(String value) {
            addCriterion("company <", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyLessThanOrEqualTo(String value) {
            addCriterion("company <=", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyLike(String value) {
            addCriterion("company like", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyNotLike(String value) {
            addCriterion("company not like", value, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyIn(List<String> values) {
            addCriterion("company in", values, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyNotIn(List<String> values) {
            addCriterion("company not in", values, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyBetween(String value1, String value2) {
            addCriterion("company between", value1, value2, "company");
            return (Criteria) this;
        }

        public Criteria andCompanyNotBetween(String value1, String value2) {
            addCriterion("company not between", value1, value2, "company");
            return (Criteria) this;
        }

        public Criteria andNumberIsNull() {
            addCriterion("number is null");
            return (Criteria) this;
        }

        public Criteria andNumberIsNotNull() {
            addCriterion("number is not null");
            return (Criteria) this;
        }

        public Criteria andNumberEqualTo(String value) {
            addCriterion("number =", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotEqualTo(String value) {
            addCriterion("number <>", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThan(String value) {
            addCriterion("number >", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThanOrEqualTo(String value) {
            addCriterion("number >=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThan(String value) {
            addCriterion("number <", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThanOrEqualTo(String value) {
            addCriterion("number <=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLike(String value) {
            addCriterion("number like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotLike(String value) {
            addCriterion("number not like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberIn(List<String> values) {
            addCriterion("number in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotIn(List<String> values) {
            addCriterion("number not in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberBetween(String value1, String value2) {
            addCriterion("number between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotBetween(String value1, String value2) {
            addCriterion("number not between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeIsNull() {
            addCriterion("release_time is null");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeIsNotNull() {
            addCriterion("release_time is not null");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeEqualTo(Date value) {
            addCriterion("release_time =", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeNotEqualTo(Date value) {
            addCriterion("release_time <>", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeGreaterThan(Date value) {
            addCriterion("release_time >", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("release_time >=", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeLessThan(Date value) {
            addCriterion("release_time <", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeLessThanOrEqualTo(Date value) {
            addCriterion("release_time <=", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeIn(List<Date> values) {
            addCriterion("release_time in", values, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeNotIn(List<Date> values) {
            addCriterion("release_time not in", values, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeBetween(Date value1, Date value2) {
            addCriterion("release_time between", value1, value2, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeNotBetween(Date value1, Date value2) {
            addCriterion("release_time not between", value1, value2, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andAdministratorsIsNull() {
            addCriterion("administrators is null");
            return (Criteria) this;
        }

        public Criteria andAdministratorsIsNotNull() {
            addCriterion("administrators is not null");
            return (Criteria) this;
        }

        public Criteria andAdministratorsEqualTo(String value) {
            addCriterion("administrators =", value, "administrators");
            return (Criteria) this;
        }

        public Criteria andAdministratorsNotEqualTo(String value) {
            addCriterion("administrators <>", value, "administrators");
            return (Criteria) this;
        }

        public Criteria andAdministratorsGreaterThan(String value) {
            addCriterion("administrators >", value, "administrators");
            return (Criteria) this;
        }

        public Criteria andAdministratorsGreaterThanOrEqualTo(String value) {
            addCriterion("administrators >=", value, "administrators");
            return (Criteria) this;
        }

        public Criteria andAdministratorsLessThan(String value) {
            addCriterion("administrators <", value, "administrators");
            return (Criteria) this;
        }

        public Criteria andAdministratorsLessThanOrEqualTo(String value) {
            addCriterion("administrators <=", value, "administrators");
            return (Criteria) this;
        }

        public Criteria andAdministratorsLike(String value) {
            addCriterion("administrators like", value, "administrators");
            return (Criteria) this;
        }

        public Criteria andAdministratorsNotLike(String value) {
            addCriterion("administrators not like", value, "administrators");
            return (Criteria) this;
        }

        public Criteria andAdministratorsIn(List<String> values) {
            addCriterion("administrators in", values, "administrators");
            return (Criteria) this;
        }

        public Criteria andAdministratorsNotIn(List<String> values) {
            addCriterion("administrators not in", values, "administrators");
            return (Criteria) this;
        }

        public Criteria andAdministratorsBetween(String value1, String value2) {
            addCriterion("administrators between", value1, value2, "administrators");
            return (Criteria) this;
        }

        public Criteria andAdministratorsNotBetween(String value1, String value2) {
            addCriterion("administrators not between", value1, value2, "administrators");
            return (Criteria) this;
        }

        public Criteria andUpdataTimeIsNull() {
            addCriterion("updata_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdataTimeIsNotNull() {
            addCriterion("updata_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdataTimeEqualTo(Date value) {
            addCriterion("updata_time =", value, "updataTime");
            return (Criteria) this;
        }

        public Criteria andUpdataTimeNotEqualTo(Date value) {
            addCriterion("updata_time <>", value, "updataTime");
            return (Criteria) this;
        }

        public Criteria andUpdataTimeGreaterThan(Date value) {
            addCriterion("updata_time >", value, "updataTime");
            return (Criteria) this;
        }

        public Criteria andUpdataTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updata_time >=", value, "updataTime");
            return (Criteria) this;
        }

        public Criteria andUpdataTimeLessThan(Date value) {
            addCriterion("updata_time <", value, "updataTime");
            return (Criteria) this;
        }

        public Criteria andUpdataTimeLessThanOrEqualTo(Date value) {
            addCriterion("updata_time <=", value, "updataTime");
            return (Criteria) this;
        }

        public Criteria andUpdataTimeIn(List<Date> values) {
            addCriterion("updata_time in", values, "updataTime");
            return (Criteria) this;
        }

        public Criteria andUpdataTimeNotIn(List<Date> values) {
            addCriterion("updata_time not in", values, "updataTime");
            return (Criteria) this;
        }

        public Criteria andUpdataTimeBetween(Date value1, Date value2) {
            addCriterion("updata_time between", value1, value2, "updataTime");
            return (Criteria) this;
        }

        public Criteria andUpdataTimeNotBetween(Date value1, Date value2) {
            addCriterion("updata_time not between", value1, value2, "updataTime");
            return (Criteria) this;
        }

        public Criteria andUpdataPeopleIsNull() {
            addCriterion("updata_people is null");
            return (Criteria) this;
        }

        public Criteria andUpdataPeopleIsNotNull() {
            addCriterion("updata_people is not null");
            return (Criteria) this;
        }

        public Criteria andUpdataPeopleEqualTo(String value) {
            addCriterion("updata_people =", value, "updataPeople");
            return (Criteria) this;
        }

        public Criteria andUpdataPeopleNotEqualTo(String value) {
            addCriterion("updata_people <>", value, "updataPeople");
            return (Criteria) this;
        }

        public Criteria andUpdataPeopleGreaterThan(String value) {
            addCriterion("updata_people >", value, "updataPeople");
            return (Criteria) this;
        }

        public Criteria andUpdataPeopleGreaterThanOrEqualTo(String value) {
            addCriterion("updata_people >=", value, "updataPeople");
            return (Criteria) this;
        }

        public Criteria andUpdataPeopleLessThan(String value) {
            addCriterion("updata_people <", value, "updataPeople");
            return (Criteria) this;
        }

        public Criteria andUpdataPeopleLessThanOrEqualTo(String value) {
            addCriterion("updata_people <=", value, "updataPeople");
            return (Criteria) this;
        }

        public Criteria andUpdataPeopleLike(String value) {
            addCriterion("updata_people like", value, "updataPeople");
            return (Criteria) this;
        }

        public Criteria andUpdataPeopleNotLike(String value) {
            addCriterion("updata_people not like", value, "updataPeople");
            return (Criteria) this;
        }

        public Criteria andUpdataPeopleIn(List<String> values) {
            addCriterion("updata_people in", values, "updataPeople");
            return (Criteria) this;
        }

        public Criteria andUpdataPeopleNotIn(List<String> values) {
            addCriterion("updata_people not in", values, "updataPeople");
            return (Criteria) this;
        }

        public Criteria andUpdataPeopleBetween(String value1, String value2) {
            addCriterion("updata_people between", value1, value2, "updataPeople");
            return (Criteria) this;
        }

        public Criteria andUpdataPeopleNotBetween(String value1, String value2) {
            addCriterion("updata_people not between", value1, value2, "updataPeople");
            return (Criteria) this;
        }

        public Criteria andCommodityTypeIsNull() {
            addCriterion("commodity_type is null");
            return (Criteria) this;
        }

        public Criteria andCommodityTypeIsNotNull() {
            addCriterion("commodity_type is not null");
            return (Criteria) this;
        }

        public Criteria andCommodityTypeEqualTo(String value) {
            addCriterion("commodity_type =", value, "commodityType");
            return (Criteria) this;
        }

        public Criteria andCommodityTypeNotEqualTo(String value) {
            addCriterion("commodity_type <>", value, "commodityType");
            return (Criteria) this;
        }

        public Criteria andCommodityTypeGreaterThan(String value) {
            addCriterion("commodity_type >", value, "commodityType");
            return (Criteria) this;
        }

        public Criteria andCommodityTypeGreaterThanOrEqualTo(String value) {
            addCriterion("commodity_type >=", value, "commodityType");
            return (Criteria) this;
        }

        public Criteria andCommodityTypeLessThan(String value) {
            addCriterion("commodity_type <", value, "commodityType");
            return (Criteria) this;
        }

        public Criteria andCommodityTypeLessThanOrEqualTo(String value) {
            addCriterion("commodity_type <=", value, "commodityType");
            return (Criteria) this;
        }

        public Criteria andCommodityTypeLike(String value) {
            addCriterion("commodity_type like", value, "commodityType");
            return (Criteria) this;
        }

        public Criteria andCommodityTypeNotLike(String value) {
            addCriterion("commodity_type not like", value, "commodityType");
            return (Criteria) this;
        }

        public Criteria andCommodityTypeIn(List<String> values) {
            addCriterion("commodity_type in", values, "commodityType");
            return (Criteria) this;
        }

        public Criteria andCommodityTypeNotIn(List<String> values) {
            addCriterion("commodity_type not in", values, "commodityType");
            return (Criteria) this;
        }

        public Criteria andCommodityTypeBetween(String value1, String value2) {
            addCriterion("commodity_type between", value1, value2, "commodityType");
            return (Criteria) this;
        }

        public Criteria andCommodityTypeNotBetween(String value1, String value2) {
            addCriterion("commodity_type not between", value1, value2, "commodityType");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}